package com.baize.glinkad.bean.ads;

import android.app.Activity;

import com.baize.glinkad.bean.base.RewardVideoModel;
import com.baize.glinkad.bean.listener.RewardVideoListener;
import com.baize.glinkad.manager.ADManagerFactory;

public class RewardRewardVideoAD {

    public RewardVideoModel rewardVideoModel;

    public RewardRewardVideoAD(Activity activity, String posID) {
        this.rewardVideoModel = new RewardVideoModel(activity, posID);
    }

    public void destroy() {
        this.rewardVideoModel.destroy();
    }

    public void init() {
        this.rewardVideoModel.init();
    }

    public boolean isReady() {
        return ADManagerFactory.instance().glinkAD.isVideoReady;
    }

    public void load() {
        this.rewardVideoModel.load();
    }

    public void setRewardVideoListener(RewardVideoListener rewardVideoListener) {
        this.rewardVideoModel.setRewardVideoListener(rewardVideoListener);
    }

    public void show() {
        this.rewardVideoModel.show();
    }


}
